Cim is a Simula compiler that first compiles the source code into C.
The C code
will then be compiled with cc, and linked with other modules.
The Cim command
will accept one Simula program and other none Simula modules.
The specified Simula program will be compiled and linked with the
modules. If a main Simula program is compiled, it will automatic
be linked with the necessary Simula modules. If a separate Class or
Procedure is compiled, then the linking will be suppressed.
The diagnostics produced by the Simula compiler are intended to
be self-explanatory.
The following options are accepted by the cim command:
- -c
Suppress linking of the complete program.
- -C
Only link the specified files.
- -cc
The following argument is the name of the C-compiler.
- -Dname
Define a symbol name.
- -E
Run only the preprocessor and output
the result to standard output.
- -g
Make the C compiler produce debugging information.
This option is useful for debugging the generated code.
- -gcc
Invoke the Gnu Project C compiler instead of the standard C compiler.
This option can be used if the standard C compiler
don't generate correct code.
- -I dir
Use the Simula include file located in directory dir
instead of the standard directory /usr/local/include.
- -l
Omit line number information in the compiled program.
This will make the program smaller and faster.
- -llibrary
Link with object library library.
This option is parsed to the link-command.
- -Ldir
Use the Simula library located in directory dir instead of the
standard directory /usr/local/lib.
- -m
The memory pool size may be set at runtime
by an option -mn.
- -mn
Set the initial memory pool size to n mega bytes.
- -Mn
Set the maximal memory pool size to n mega bytes.
- -o
The following argument is the name of the output
executable file.
- -oc
The following argument will be parsed to the CC-command.
- -ol
The following argument will be parsed to the link-command.
- -q
Run the compiler in quiet mode.
- -r
Run the program after compilation.
- -R
Recompile the module using the same timestamp.
- -s
Only C-compile and link the specified files.
- -S
Run the source file through Simula-compiler, only.
- -t
Do not remove temporary files.
If a main program is compiled with option -r,
then the executable file will be removed
unless this option or option -T is specified.
- -T
Do not remove the executable file.
- -Uname
Remove any initial definition of the symbol name
(Inverse of the -D option).
- -v
Run the compiler in verbose mode.
- -w
Do not print warnings.
Subsections